from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response, get_object_or_404
from django.core.urlresolvers import reverse

from videosoft.apps.news.models import Fact

def index(request):
	facts = Fact.objects.all().order_by('-date')
	return render_to_response('news/index.html', {'facts' : facts})
